package cn.tedu.egmybatis5.mapper;

import cn.tedu.egmybatis5.pojo.entity.Comment;
import cn.tedu.egmybatis5.pojo.vo.CommentVO1;
import cn.tedu.egmybatis5.pojo.vo.ResultMapVO3;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface CommentMapper {

    int insertComment(Comment comment);


    int updateComment(Comment comment);


    int deleteComment(Long id);


    CommentVO1 selectCommentVO1(Long id);

    List<CommentVO1> selectCommentVO1ByWeibo(Long weiboId);


    ResultMapVO3 selectCommentByWeiboId(Long weiboId);
}
